package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 预约采购表
 * @Author: jeecg-boot
 * @Date:   2023-08-29
 * @Version: V1.0
 */
@Data
@TableName("ysy_purchase_order")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_purchase_order对象", description="预约采购表")
public class YsyPurchaseOrder {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**类型：1-汽油，2-其他*/
	@Excel(name = "类型：1-汽油，2-其他", width = 15)
    @ApiModelProperty(value = "类型：1-汽油，2-其他")
	private Integer type;
	/**用车类型：1-寻找罐车，2-有车自提*/
	@Excel(name = "用车类型：1-寻找罐车，2-有车自提", width = 15)
    @ApiModelProperty(value = "用车类型：1-寻找罐车，2-有车自提")
	private Integer carType;
	/**装货地*/
	@Excel(name = "装货地", width = 15)
    @ApiModelProperty(value = "装货地")
	private String placeAddress;
	/**装货地经度*/
	@Excel(name = "装货地经度", width = 15)
    @ApiModelProperty(value = "装货地经度")
	private String placeLat;
	/**装货地维度*/
	@Excel(name = "装货地维度", width = 15)
    @ApiModelProperty(value = "装货地维度")
	private String placeLng;
	/**卸货地*/
	@Excel(name = "卸货地", width = 15)
    @ApiModelProperty(value = "卸货地")
	private String dischargeAddress;
	/**卸货地经度*/
	@Excel(name = "卸货地经度", width = 15)
    @ApiModelProperty(value = "卸货地经度")
	private String dischargeLat;
	/**卸货地维度*/
	@Excel(name = "卸货地维度", width = 15)
    @ApiModelProperty(value = "卸货地维度")
	private String dischargeLng;
	/**时间*/
	@Excel(name = "时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "时间")
	private Date useTime;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**油品*/
	@Excel(name = "油品", width = 15)
    @ApiModelProperty(value = "油品")
	private String oilProducts;
	/**用车数量*/
	@Excel(name = "用车数量", width = 15)
    @ApiModelProperty(value = "用车数量")
	private Integer carNum;
	/**吨位*/
	@Excel(name = "吨位", width = 15)
    @ApiModelProperty(value = "吨位")
	private String tonnage;
	/**是否分仓：1-分仓，2-不分仓*/
	@Excel(name = "是否分仓：1-分仓，2-不分仓", width = 15)
    @ApiModelProperty(value = "是否分仓：1-分仓，2-不分仓")
	private Integer fcFlag;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**价位*/
	@Excel(name = "价位", width = 15)
    @ApiModelProperty(value = "价位")
	private java.math.BigDecimal price;
	/**罐体*/
	@Excel(name = "罐体", width = 15)
    @ApiModelProperty(value = "罐体")
	private String tankBody;
	/**所属用户*/
	@Excel(name = "所属用户", width = 15)
	@ApiModelProperty(value = "所属用户")
	private String userId;

	/**装货地*/
	@Excel(name = "备选装货地", width = 15)
	@ApiModelProperty(value = "备选装货地")
	private String bxPlaceAddress;
	/**装货地经度*/
	@Excel(name = "备选装货地经度", width = 15)
	@ApiModelProperty(value = "备选装货地经度")
	private String bxPlaceLat;
	/**装货地维度*/
	@Excel(name = "备选装货地维度", width = 15)
	@ApiModelProperty(value = "备选装货地维度")
	private String bxPlaceLng;

	private String userPhone;

	private String userName;
}
